package com.example.sandbox.controller.order.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author Lierbao
 * @Date 2024/6/14 14:12
 */

@Data
@ApiModel("下游基础请求参数")
public class DownStreamAbstractRQ implements Serializable {

    @NotBlank(message = "Signature value cannot be empty")//签名值 不能为空
    @ApiModelProperty("签名值，详见签名算法")
    private String sign;

    @NotNull(message = "Request interface time, 13 bit timestamp cannot be empty")//请求接口时间,13位时间戳 不能为空
    @ApiModelProperty("请求接口时间,13位时间戳")
    private Long reqTime;
}
